package com.yy.satokenapplication.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yy.satokenapplication.entity.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
* @author young
* @description 针对表【sys_user(系统用户表)】的数据库操作Mapper
* @createDate 2025-03-16 16:30:47
* @Entity com.yy.satokenapplication.entity.SysUser
*/
@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {

    SysUser findUserWithRolesAndPermissionsById(@Param("userId") Long userId);
}




